package cn.kongwg.service;

import cn.kongwg.dao.UserMapper;
import cn.kongwg.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author kongwg
 * @create 2021-02-24 22:29
 */
@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findUserById(Integer id) {

        return userMapper.findUserById(id);

    }
}
